/* f1样式 */
.f1 {
    background-color: #E3E4E5;
}
.f1>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.f1>.container>div:first-child{
    display: flex;
    align-items: center;
    padding: 5px 0;
}
.f1>.container>div:first-child>div:nth-child(2){
    color: #999999;
    cursor: pointer;
}
.f1>.container>div:first-child>img {
    width: 20px;
}
.f1_nav_list {
    display: flex;
}
.f1_nav_list>:not(:last-child):after {
    content:'|';
    padding: 0 5px;
    color: #9999A3;
}
.f1_nav_list>li>span>a{
    color: #F10215;
}
.f1_nav_list>li img{
    width: 10px;
    cursor: pointer;
}
/* f2 样式 */
.f2 {
    background-color: #FFFFFF;
}
.f2>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* logo */
.f2>.container>img:nth-child(1) {
    width: 151px;
    margin-right: 50px;
}
.f2>.container>img:nth-child(3){
    width: 175px;
}
.f2_middle>div {
    display: flex;
    align-items: center;
}
/* 输入框 */
.f2_search{
    display: flex;
    align-items: center;
    border: 1px solid #E2231A;
    margin-right: 20px;
    position: relative;
}
.f2_search>input {
    width: 490px;
    padding: 10px 20px;
}
.f2_search>div:nth-child(2){
    background-color: #E1251B;
    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
}
/* 相机图标 */
.f2_search>div:nth-child(3){
    position: absolute;
    top: 50%;
    right: 70px;
    margin-top: -10px;
    cursor: pointer;
}
/* 购物车 */
.cart {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid #EEEEEE;
    cursor: pointer;
    user-select: none;
    position: relative;
}
.cart:hover {
    border-color: #C81623;
}
.cart>span {
    padding-left: 16px;
    color: #E1251B;
}
.cart>div {
    background-color: #E1251B;
    color: #fff;
    border-radius: 10px;
    padding: 1px 8px;
    position: absolute;
    top: 0px;
    left: 28px;
    font-size: .8em;
}
.f2_menu_list>ul {
    display: flex;
    font-size: .9em;

}
.f2_menu_list>ul>li>a {
    color: #9D9D9D;
}
.f2_menu_list>ul>li>a:hover {
    color: #C81623;
}
.f2_menu_list>ul>li:first-child{
    padding-top: 5px;
}
.f2_menu_list>ul>li>span>a{
    color: #E6473F;
}
.f2_menu_list>ul>li:not(:first-child){
    padding: 5px 5px;
}
/* 3f 样式 */
.f3 {
    background-color: #fff;
}
.f3>.container{
    display:flex;
    justify-content: center;
}
.f3>.container>ul {
    display: flex;
    width: 726px;
    justify-content: space-between;
    font-size: 1.1em;
    padding: 5px 0;
}
.f3>.container>ul>li:nth-child(1)>a,.f3>.container>ul>li:nth-child(2)>a{
    color: #E1251B;
    font-weight: bold;
}
.f3>.container>ul>li>a {
    transition: color .2s ease-in 0s;
}
/* f4 样式 */
.f4 {
    padding-top: 10px;
    padding-bottom: 30px;
}
.f4>.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
/* 左侧菜单选项样式 */
.f4_left>ul {
    padding: 10px 15px;
}
.f4_left>ul>li {
    padding: 3px 0;
}
.f4_left>ul>li:hover {
    background-color: rgb(217,217,217);
}
.f4_left {
    flex-basis: 195px;
    margin-right: 10px;
    background-color: #fff;
}
.f4_left>ul>li>a{
    transition: color .2s ease-in 0s;
}
.f4_left>ul>li>a:hover {
    color: #C81623;
}
/* 轮播区域样式 */
.f4_middle {
    flex-grow: 1;
    display: flex;    
}
.f4_middle_left {
    flex-grow: 1;
    margin-right: 10px;
}
.carousel {
    position: relative;
}
.carousel>img {
    opacity: 0;
    transition: opacity .2s ease 0s;
}
.carousel>ul {
    display: flex;
    width: 60px;
    justify-content: space-between;
    position: absolute;
    bottom: 10px;
    left: 10px;
}
.carousel>ul>li>a{
    border: 6px solid rgba(0,0,0,.5);
    border-radius: 50px;
    display: block;
}
.carousel>#main_prev {
    background-color: rgba(0,0,0,.5);
    position: absolute;
    padding: 10px 5px;
    display: flex;
    align-items: center;
    top: 50%;
    left: 0;
    margin-top: -21px;
}
.carousel>#main_next {
    background-color: rgba(0,0,0,.5);
    position: absolute;
    display: flex;
    padding: 10px 5px;
    align-items: center;
    top: 50%;
    right: 0px;
    margin-top: -21px;
}
.carousel:hover>div#main_prev {
    background-color: rgba(0,0,0,.3);
    cursor: pointer;
}
.carousel:hover>div#main_next {
    background-color: rgba(0,0,0,.3);
    cursor: pointer;
}
.current {
    border-color: #fff !important;
}
.f4_middle_right {
    flex-basis: 189px;
    display: flex;
    flex-direction: column;
}
.f4_middle_right>div {
    flex-grow: 1;
}
.f4_middle_right>div:nth-child(2){
    margin: 5px 0;
}
/* 右侧用户栏样式 */
.f4_right {
    margin-left: 10px;
    flex-basis: 189px;
    padding: 15px;
    background-color: #fff;
}
.f4_right_user {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.f4_right_user>img{
    width: 55px;
    border-radius: 50px;
    border: 1px solid #fff;
    margin-right: 5px;
}
.f4_right_user>div{
    font-size: .8em;
    cursor: pointer;
    padding-bottom: 10px;
}
.f4_right_user>div:nth-child(2)>div>a {
    padding: 5px 0;
    display: block;
}
.f4_right_user>div>ul {
    display: flex;
    padding: 5px 0;
}
.f4_right_user>div>ul>li:not(:last-child):after {
    content:'|';
    padding: 0 5px;
}
/* f4按钮 */
.f4_btn {
    display: flex;
    padding-top: 10px;
}
.f4_btn > div {
    padding: 5px 5px;
    cursor: pointer;
}
.f4_btn>div:nth-child(1){
    background-color: #E1251B;
    color: #fff;
    border-radius: 50px;
    margin-right: 5px;
}
.f4_btn>div:nth-child(2){
    background-color: #363634;
    color: #E5D790;
    border-radius: 50px;
}
.f4_title {
    display: flex;
    justify-content: space-between;
    padding: 5px 0 5px 0;
    align-items: flex-end;
}
.f4_title>div:nth-child(1){
    font-weight: bold;
}
.f4_title>div:nth-child(2){
    font-size: .8em;
}
/* 内容 */
.f4_mainer>div{
    display: flex;
    align-items: center;
    margin-top: 5px;
}
.f4_mainer>div>div:nth-child(1){
    padding: 2px;
    font-size: .8em;
    color: #E1251B;
    background-color: #FDEEED;
}
.f4_mainer>div>div:nth-child(2){
    font-size: .7em;
    color: #666666;
    padding-left: 5px;
}
.f4_footer {
    padding-top: 10px;
}
.f4_footer>div {
    display: flex;
    flex-wrap: wrap;
}
.f4_footer>div>div{
    flex-basis: 33.3%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3px 0;
    cursor: pointer;
    user-select: none;
}
.f4_footer>div>div>a>span{
    display: block;
    padding-top: 3px;
}
/* 尾部 */
.footer_f1>.container {
    display: flex;
    border-bottom: 2px solid #ccc;
}
.footer_f1>.container>div {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    flex-grow: 1;
    padding-left: 25px;
}
.footer_f1>.container>div>img {
    padding-right: 10px;
}
.footer_f2_title>ul{
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    color: #666666;
    padding-top: 5px;
}
.footer_f2_bottom {
    display: flex;
    justify-content: space-around;
    position: relative;
}
.footer_f2_bottom>ul>li {
    font-size: .8em;
    padding: 5px 0;
}
.footer_f2_bottom>ul>li:not(:nth-child(1)),.footer_f2_bottom>ul>li:not(:nth-child(2)){
    margin-left: -4.3em;
}
.footer_f2_bottom>div:last-child{
    position: absolute;
    right: 0;
    top: 5px;
    width: 200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.footer_f2_bottom>div:last-child>div {
    padding-top: 3px;
}